package cn.iocoder.yudao.module.member.controller.admin.usercommission.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 佣金 Response VO")
@Data
@ExcelIgnoreUnannotated
public class UserCommissionRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29886")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "用户id", example = "15791")
    @ExcelProperty("用户id")
    private Long userId;

    @Schema(description = "邀请类型：1 一级邀请；2 二级邀请；", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("邀请类型：1 一级邀请；2 二级邀请；")
    private Boolean inviterType;

    @Schema(description = "一级被邀请人用户id", example = "20204")
    @ExcelProperty("一级被邀请人用户id")
    private Long firstInviteeUserId;

    @Schema(description = "二级被邀请人用户id", example = "15366")
    @ExcelProperty("二级被邀请人用户id")
    private Long secondInviteeUserId;

    @Schema(description = "支付套餐订单编号", example = "28597")
    @ExcelProperty("支付套餐订单编号")
    private Long payPackageOrderId;

    @Schema(description = "充值，单位：分")
    @ExcelProperty("充值，单位：分")
    private Integer recharge;

    @Schema(description = "佣金，单位：分", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("佣金，单位：分")
    private Integer commission;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

}